import java.io.FileOutputStream;
import java.io.IOException;

public class Helloworld {
    public static void main(String[] args) throws IOException {
        FileOutputStream fos = new FileOutputStream("fox.dat");
        fos.write(97);
        fos.write(98);
        System.out.println("在fix-dat输出");
        fos.write(99);
        System.out.println("写出完毕");
        System.out.println("我懂你饮食！");
        fos.close();
    }
}
